package com.boc.image.web;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.boc.ibatis.config.IbatisSqlClient;

public class Products {
	
	/**
	 * 取账户类型
	 * @return
	 */
	public List getZhlx() {
		List result = null;
		try {
			result = IbatisSqlClient.sqlMapClient.queryForList("image_t_img_zhlx.getZhlx");
		} catch (Exception e) {
			e.printStackTrace();
		}
		return result;
	}
	
	/**
	 * 根据账户类型取产品
	 * @param cZhlx
	 * @return
	 */
	public List getProducts(String cZhlx) {
		List result = null;
		try {
			result = IbatisSqlClient.sqlMapClient.queryForList("image_t_img_cpjg.ibatorgenerated_selectByPrimaryKey",cZhlx);
		} catch (Exception e) {
			e.printStackTrace();
		}
		return result;
	}
}
